//
//  AlertMessageView.m
//  有材网
//
//  Created by 肖扬 on 16/1/16.
//  Copyright © 2016年 肖扬. All rights reserved.
//

#import "AlertMessageView.h"

@implementation AlertMessageView
@synthesize tempLab;
-(id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.tempLab = [[UILabel alloc]initWithFrame:CGRectMake(10, (frame.size.height - 12)/2, frame.size.width - 20, 12)];
        [self.tempLab setBackgroundColor:[UIColor clearColor]];
        self.tempLab.textColor = [UIColor whiteColor];
        [self addSubview:self.tempLab];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
